package com.xiaoma.weblog.admin.service;

import com.xiaoma.weblog.admin.model.FindCategoryPageListReqVO;
import com.xiaoma.weblog.admin.model.vo.category.AddCategoryReqVO;
import com.xiaoma.weblog.admin.model.vo.category.DeleteCategoryReqVO;
import com.xiaoma.weblog.common.utils.PageResponse;
import com.xiaoma.weblog.common.utils.Response;

/**
 * @ClassName CategoryService
 * @Description:
 * @Author: 小马
 * @CreateDate: 2025/3/28 10:52
 * @Version: 1.0
 */
public interface AdminCategoryService {
    /**
     * 添加分类
     * @param addCategoryReqVO
     * @return
     */
    Response addCategory(AddCategoryReqVO addCategoryReqVO);

    /**
     * 分页查询分类数据
     * @param findCategoryPageListReqVO
     * @return
     */
    PageResponse findCategoryList(FindCategoryPageListReqVO findCategoryPageListReqVO);

    /**
     * 删除分类
     * @param deleteCategoryReqVO
     * @return
     */
    Response deleteCategory(DeleteCategoryReqVO deleteCategoryReqVO);

    /**
     * 获取文章分类的 Select 列表数据
     * @return
     */
    Response findCategorySelectList();
}